IF EXISTS (SELECT * FROM sys.objects WHERE name = 'GetPassword' AND type = 'P')
BEGIN
    DROP PROCEDURE dbo.GetPassword
END    
GO
CREATE PROCEDURE dbo.GetPassword
AS
     select UserName,Password,URL from dbo.Password
GO